#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int is_prime(int n)
{
	int p = 1;
	int i = 0;
	for (i = 2; i < n; i++)
		if (n % i == 0)
			p = 0;
	return p;
}
int main()
{

	for (int j = 100; j <= 200; j++)
	{
		int p = is_prime(j);
		if (p)
			printf("%d ", j);
	}

	return 0;
}